package com.spzx.product.mapper;

import com.spzx.product.api.domain.Brand;
import org.apache.ibatis.annotations.Param;

import java.util.List;

//@Mapper
public interface BrandMapper {
    List<Brand> list(@Param("brand") Brand brand);

    Brand getById(Long id);

    int insert(@Param("brand") Brand brand);

    int updateById(@Param("brand") Brand brand);

    int deleteBatch(@Param("ids") Long[] ids);

    List<Brand> getBrandAll();
}
